﻿@model IEnumerable<KCMS.Web.Models.OrderDeliveryViewModel>
<h2>
    Выбор способа доставки</h2>
<ul class="radio-list">
    @foreach (var item in Model)
    {
        <li>
            @Html.RadioButton("deliveryId", item.Id,true)
            @Html.Label(item.Title)
            <div>
                @Html.Raw(item.Description)
            </div>
        </li>
    }
</ul>
<div class="create-order-next-step">
    @Ajax.ActionLink("Продолжить", "CreateClient", null, new AjaxOptions
{
    HttpMethod = "GET",
    UpdateTargetId = "cart-details-container"
},
    new { @class = "button",@id="choose-delivery-button" })
</div>
<div>
    @Html.ActionLink("Назад", "Show", null, new { @class = "button" })
</div>
<script type="text/javascript">
    $(".button").button();
    shop.autoCompliteClientForm();
</script>
